package com.loveyukari.dao;

import java.util.List;

import com.loveyukari.model.AuthRegister;
import com.loveyukari.model.Register;

/**
*
*yangshaohua
*2017年1月23日下午8:19:08
**/
public interface RegisterDao {

	List<Register> selectListByTime(String startTime, String endTime);
	
	List<Register> selectRegisterList(int start, int size);
	
	int countRegister();
	
	void startRegister();
	
	Register selectByLast();

	Register selectById(int id);

	List<Register> selectAll();
	
	void stopRegister();
	
	void insertAuthRegister(int userId, int registerId, int status);
	
	AuthRegister selectAuthRegister(int registerId, int authId);
	
	void updateAuthRegister(int registerId, int userId, int status);

	int countAuthRegister(int userId,int status);

	List<AuthRegister> selectAuthRegisterList(int authId);
	
}
